package day1211;

public class T3 {
    public static void main(String[] args) {
        //byte short int long,     float double,   char,   boolean
        //String
        byte x1=-128;
        byte x2=127;
        System.out.println("最小值"+ x1+   ",最大值：" +x2);

        short s1=-32768;
        short s2=32767;
        System.out.println("最小值"+ s1+   ",最大值：" +s2);

        int i1=Integer.MIN_VALUE;
        int i2=-2147483648;
        System.out.println("最小值"+ i1+   ",最大值：" +i2);

        long l1=Long.MAX_VALUE;
        long l2=Long.MIN_VALUE;
        System.out.println("最小值"+ l1+   ",最大值：" +l2);


        double d1=Double.MAX_VALUE;
        double d2=324.6;
        System.out.println("最小值"+ d1+   ",最大值：" +d2);


        float f1=3.5F;
        float f2 = Float.MAX_VALUE;
        System.out.println("f1="+f1+",f2="+f2);

        char ch1='k';
        char ch2='的';
        char ch3='。';
        char ch4=65;
        char ch5=0x41;
        char ch6=0b1000001;
        System.out.println(ch6);
        char ch7='\\';
        char ch8='\'';
        char ch9='\n';
        char ch10='\r';
        char ch11='\t';//四个

        boolean b1=true;
        boolean b2=false;
        boolean b3= 5>3;
        boolean b4= 5 >= 3;
        boolean b5= 5 == 3;
        boolean b6= 5 != 3;
        System.out.println(b4+","+b5 +","+ b6);//false

        System.out.println(3*4);
        System.out.println(3+4);
        System.out.println(3-4);
        System.out.println(2.4/4.0);

        System.out.println(5%2);


        String name="防浮点m"   +   "。";
        System.out.println(name);
    }
}
